package com.tchhy.mvplibrary.presenter

import android.app.Activity
import com.tchhy.mvplibrary.presenter.view.BaseView
import com.trello.rxlifecycle2.components.support.RxDialogFragment

/**
 * <p>
 * Author: wfy
 *
 */
open class BaseDialogPresenter<T : BaseView>(fragment: RxDialogFragment) : BasePresenter<T> (){
    val mContext: Activity
    init {
        mContext = fragment.requireActivity()
        lifecycleProvider = fragment
    }
}